﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.T.BasicData.Domain.RBAC
{
    /// <summary>
    /// 角色权限中间表
    /// </summary>
    [Table("Role_Permission")]
    public class Role_Permission
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Role_PermissionId {  get; set; }//Id
        public int PermissionsId { get; set; }//权限Id
        public long RolesId { get; set; }//角色Id

        public bool IsDele {  get; set; }=false;
    }
}
